/*
 * card
*/

.card {
    box-shadow: 0 2px 2px 0 rgba(0,0,0,0.14),0 1px 5px 0 rgba(0,0,0,0.12),0 3px 1px -2px rgba(0,0,0,0.2);
    max-width: 480px;
    background-color: #fff;
    padding: 20px 0;
    border-radius:20px;
}

.card__header {
    position: relative;
}

    .card__header:before {
        content: "";
        width: 100%;
        height: 100%;
        background-image: -webkit-linear-gradient(top, transparent 30%, rgba(0, 0, 0, .6) 70%, rgba(0, 0, 0, .7));
        background-image: linear-gradient(to bottom, transparent 30%, rgba(0, 0, 0, .6) 70%, rgba(0, 0, 0, .7));
        position: absolute;
        left: 0;
        bottom: 0;
    }

.card__title {
    font-size: 2.2rem;
    font-weight: 400;
    color: #fff;
    text-transform: uppercase;
    line-height: 1.5;
    padding-left: 2rem;
    padding-right: 2rem;
    margin-top: 0;
    margin-bottom: 0;
    position: absolute;
    bottom: 2rem;
    left: 0;
}

.card__link {
    color: inherit;
    text-decoration: none;
}

.card__preview {
    max-width: 100%;
    display: block;
    border-radius:10px;
}

.card__body {
    padding: 3rem 2.5rem 2rem;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -ms-flex-pack: distribute;
    justify-content: space-around;
    -webkit-box-flex: 2;
    -ms-flex-positive: 2;
    flex-grow: 2;
}

.card__content {
    -webkit-box-flex: 2;
    -ms-flex-positive: 2;
    flex-grow: 2;
}

.card__footer {
    font-size: 1.4rem;
    border-top: 1px solid #f0f0f0;
    margin-top: 3rem;
    padding-top: 2rem;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-align: end;
    -ms-flex-align: end;
    align-items: flex-end;
}

.card__readmore {
    text-transform: uppercase;
    color: #512da8;
}

.card__meta {
    -webkit-box-flex: 0;
    -ms-flex: none;
    flex: none;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.card__meta-label {
    display: inline-block;
    padding-left: 2.2rem;
    background-repeat: no-repeat;
    background-size: 1.6rem;
    background-position: 1% center;
}

    .card__meta-label:not(:first-child) {
        margin-left: 1.5rem;
    }

.card__meta-comments {
    background-image: url();
    background-position: 1% 75%;
}

.card__meta-likes {
    background-image: url();
}
